package com.test.sb;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;


/**
 *  @SpringBootApplication
 *  来标注一个主程序类，说明这是一个Spring Boot应用
 *  推荐使用@SpringBootApplication 替换@Configuration
 */
//@ImportResource(locations = {"classpath:beans.xml"}) //导入Spring的配置文件让其生效
@SpringBootApplication
public class SbApplication {

    public static void main(String[] args) {
        SpringApplication.run(SbApplication.class, args);
    }

}
